﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WadViewer.DomainModel
{
	/// <summary>
	/// Entity with properties for the performance counters
	/// </summary>
	public class WadPerfCounterEntity : WadEntity
	{
		/// <summary>
		/// Name of the performance counter
		/// </summary>
		public string CounterName { get; set; }
		/// <summary>
		/// Value of the performance counter
		/// </summary>
		public string CounterValue { get; set; }

		public override string ListDisplay
		{
			get { return CounterName + " = " + CounterValue; }
		}

		public override string ToString()
		{
			return string.Format("{0}\t{1}\t{2}", base.ToString(), CounterName, CounterValue);
		}
	}
}
